<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/DiscoveryLogic.DataServices.DataObjects.Entities" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/DiscoveryLogic.DataServices.DataObjects.Entities" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:3888/Entities/PersonService.svc?xsd=xsd3" namespace="DiscoveryLogic.DataServices.DataObjects" />
  <xs:complexType name="SearchKey">
    <xs:sequence>
      <xs:element minOccurs="0" name="EntityType" type="tns:EntityType" />
      <xs:element minOccurs="0" name="FieldName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Query" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SearchKey" nillable="true" type="tns:SearchKey" />
  <xs:simpleType name="EntityType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Person" />
      <xs:enumeration value="Organization" />
      <xs:enumeration value="Work" />
      <xs:enumeration value="Document" />
      <xs:enumeration value="Grant" />
      <xs:enumeration value="Place" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="EntityType" nillable="true" type="tns:EntityType" />
  <xs:complexType name="ArrayOfAssociation">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Association" nillable="true" type="tns:Association" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAssociation" nillable="true" type="tns:ArrayOfAssociation" />
  <xs:complexType name="Association">
    <xs:sequence>
      <xs:element xmlns:q1="DiscoveryLogic.DataServices.DataObjects" minOccurs="0" name="Role1Entity" nillable="true" type="q1:Entity" />
      <xs:element minOccurs="0" name="Role1Field" nillable="true" type="xs:string" />
      <xs:element xmlns:q2="DiscoveryLogic.DataServices.DataObjects" minOccurs="0" name="Role2Entity" nillable="true" type="q2:Entity" />
      <xs:element minOccurs="0" name="Role2Field" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Association" nillable="true" type="tns:Association" />
  <xs:complexType name="ArrayOfNavigation">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Navigation" nillable="true" type="tns:Navigation" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfNavigation" nillable="true" type="tns:ArrayOfNavigation" />
  <xs:complexType name="Navigation">
    <xs:sequence>
      <xs:element xmlns:q3="DiscoveryLogic.DataServices.DataObjects" minOccurs="0" name="FromEntity" nillable="true" type="q3:Entity" />
      <xs:element minOccurs="0" name="Multiplicity" type="tns:NavigationMultiplicity" />
      <xs:element xmlns:q4="DiscoveryLogic.DataServices.DataObjects" minOccurs="0" name="ToEntity" nillable="true" type="q4:Entity" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Navigation" nillable="true" type="tns:Navigation" />
  <xs:simpleType name="NavigationMultiplicity">
    <xs:restriction base="xs:string">
      <xs:enumeration value="OneToOne" />
      <xs:enumeration value="OneToMany" />
      <xs:enumeration value="OneToZeroOrOne" />
      <xs:enumeration value="ManyToOne" />
      <xs:enumeration value="ZeroOrOneToOne" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="NavigationMultiplicity" nillable="true" type="tns:NavigationMultiplicity" />
  <xs:complexType name="FaultDetail">
    <xs:sequence>
      <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="FaultDetail" nillable="true" type="tns:FaultDetail" />
  <xs:simpleType name="Gender">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Male" />
      <xs:enumeration value="Female" />
      <xs:enumeration value="Unknown" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="Gender" nillable="true" type="tns:Gender" />
  <xs:simpleType name="Race">
    <xs:restriction base="xs:string">
      <xs:enumeration value="AmericanIndian" />
      <xs:enumeration value="AfrianAmerican" />
      <xs:enumeration value="Asian" />
      <xs:enumeration value="Hispanic" />
      <xs:enumeration value="White" />
      <xs:enumeration value="HawaiiPacificIsland" />
      <xs:enumeration value="Withheld" />
      <xs:enumeration value="Unknown" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="Race" nillable="true" type="tns:Race" />
</xs:schema>